﻿using CJAtech.BBS.Process;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace CJAtech.BBS.Web.Controllers
{
    public partial class LMSController
    {
        public override JsonResult AddComment(int? articleId, int? replyId, string content)
        {
            //todo：添加到通知表
            return base.AddComment(articleId, replyId, content);
        }

        public override JsonResult DiggArticle(int? id)
        {
            //todo：添加到通知表
            return base.DiggArticle(id);
        }

        [SSOAuthFilter(BBSPowerType.None)]
        public override JsonResult GetSearchArticleList(string keyword, int? categoryId, int? pageIndex = 1, int? pageSize = 10, int? isLoadRelatedRecord = 1)
        {
            return base.GetSearchArticleList(keyword, categoryId, pageIndex, pageSize, isLoadRelatedRecord);
        }
    }
}